﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace Mobile.Infastructure
{
    public static class Helpers
    {
        public static MvcHtmlString Image(this HtmlHelper helper, string src, string altext)
        {
            var builder = new TagBuilder("img");
            builder.MergeAttribute("src", src);
            builder.MergeAttribute("alt", altext);
            return MvcHtmlString.Create(builder.ToString(TagRenderMode.SelfClosing));
        }

         //Possible other helpers include queue/song lines - create a method that can return an entire HTML markup for the row
        public static MvcHtmlString QueueData(this HtmlHelper helper)
        {
            return null;
        }

        //Helper method for upvote
        public static AjaxHelper Upvote(this AjaxHelper helper)
        {
            
            return null;
        }

    }
}
